package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.SjRandomRecord;
import com.ruoyi.system.domain.SjStandard;

/**
 * 随机记录Service接口
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public interface ISjRandomRecordService 
{
    /**
     * 查询随机记录
     * 
     * @param id 随机记录主键
     * @return 随机记录
     */
    public SjRandomRecord selectSjRandomRecordById(Long id);

    /**
     * 查询随机记录列表
     * 
     * @param sjRandomRecord 随机记录
     * @return 随机记录集合
     */
    public List<SjRandomRecord> selectSjRandomRecordList(SjRandomRecord sjRandomRecord);

    /**
     * 根据记录获取标准
     * @param sjRandomRecord
     * @return
     */
    public List<SjStandard> selectSjStandardList(SjRandomRecord sjRandomRecord);


    /**
     * 新增随机记录
     * 
     * @param sjRandomRecord 随机记录
     * @return 结果
     */
    public int insertSjRandomRecord(SjRandomRecord sjRandomRecord);

    /**
     * 修改随机记录
     * 
     * @param sjRandomRecord 随机记录
     * @return 结果
     */
    public int updateSjRandomRecord(SjRandomRecord sjRandomRecord);

    /**
     * 批量删除随机记录
     * 
     * @param ids 需要删除的随机记录主键集合
     * @return 结果
     */
    public int deleteSjRandomRecordByIds(Long[] ids);

    /**
     * 删除随机记录信息
     * 
     * @param id 随机记录主键
     * @return 结果
     */
    public int deleteSjRandomRecordById(Long id);


    /**
     * 数量统计
     *
     * @param
     * @return 结果
     */
    public String countStandardRecord();
}
